Eclipse Platform
Pre-release 3.0

org.eclipse.ui.activities
Class ActivityManagerEvent

java.lang.Object
  extended byorg.eclipse.ui.activities.ActivityManagerEvent

public final class ActivityManagerEvent
extends Object

An instance of this class describes changes to an instance of IActivityManager.

This class is not intended to be extended by clients.

EXPERIMENTAL

Since:
3.0
See Also:
IActivityManagerListener.activityManagerChanged(org.eclipse.ui.activities.ActivityManagerEvent)

Constructor Summary
ActivityManagerEvent(IActivityManager activityManager, boolean definedActivityIdsChanged, boolean definedCategoryIdsChanged, boolean enabledActivityIdsChanged)
          Creates a new instance of this class.
 
Method Summary
 IActivityManager getActivityManager()
          Returns the instance of the interface that changed.
 boolean haveDefinedActivityIdsChanged()
          Returns whether or not the definedActivityIds property changed.
 boolean haveDefinedCategoryIdsChanged()
          Returns whether or not the definedCategoryIdsChanged property changed.
 boolean haveEnabledActivityIdsChanged()
          Returns whether or not the enabledActivityIdsChanged property changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivityManagerEvent

public ActivityManagerEvent(IActivityManager activityManager,
                            boolean definedActivityIdsChanged,
                            boolean definedCategoryIdsChanged,
                            boolean enabledActivityIdsChanged)
Creates a new instance of this class.

Parameters:
activityManager - the instance of the interface that changed.
definedActivityIdsChanged - true, iff the definedActivityIds property changed.
definedCategoryIdsChanged - true, iff the definedCategoryIdsChanged property changed.
enabledActivityIdsChanged - true, iff the enabledActivityIdsChanged property changed.
Method Detail

getActivityManager

public IActivityManager getActivityManager()
Returns the instance of the interface that changed.

Returns:
the instance of the interface that changed. Guaranteed not to be null.

haveDefinedActivityIdsChanged

public boolean haveDefinedActivityIdsChanged()
Returns whether or not the definedActivityIds property changed.

Returns:
true, iff the definedActivityIds property changed.

haveDefinedCategoryIdsChanged

public boolean haveDefinedCategoryIdsChanged()
Returns whether or not the definedCategoryIdsChanged property changed.

Returns:
true, iff the definedCategoryIdsChanged property changed.

haveEnabledActivityIdsChanged

public boolean haveEnabledActivityIdsChanged()
Returns whether or not the enabledActivityIdsChanged property changed.

Returns:
true, iff the enabledActivityIdsChanged property changed.

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.